package com.konke.sdslibrary.event;

import com.sds.sdk.android.sh.model.DeviceOnlineState;

/**
 * Created by Administrator on 2018/10/12.
 */

public class FloorheatingDevStatusEvent extends RoomDeviceStatusEvent {
    private boolean on;
    private DeviceOnlineState mOnlineState;
    private boolean lock;
    private double setTemp;
    private double cutTemp;

    public double getSetTemp() {
        return setTemp;
    }

    public void setSetTemp(double setTemp) {
        this.setTemp = setTemp;
    }

    public double getCutTemp() {
        return cutTemp;
    }

    public void setCutTemp(double cutTemp) {
        this.cutTemp = cutTemp;
    }

    public FloorheatingDevStatusEvent(String ccuId, int deviceId, int roomId) {
        super(ccuId, deviceId, roomId);
    }

    public boolean isOn() {
        return on;
    }

    public void setOn(boolean on) {
        this.on = on;
    }

    @Override
    public DeviceOnlineState getOnlineState() {
        return mOnlineState;
    }

    @Override
    public void setOnlineState(DeviceOnlineState onlineState) {
        mOnlineState = onlineState;
    }

    public boolean isLock() {
        return lock;
    }

    public void setLock(boolean lock) {
        this.lock = lock;
    }
}
